﻿using Ewell.BizComponent.Service.Model.Invoice.Request;
using Ewell.BizComponent.Service.Model.Invoice.Response;
using System.Collections.Generic;

namespace Ewell.BizComponent.Service.IServer
{
    public interface IInvoiceServer
    {
        /// <summary>
        /// 获取可用票据
        /// </summary>
        /// <param name="interfaceId"></param>
        /// <param name="request"></param>
        /// <returns></returns>
        InvoicingResponse IssueInvoice(long interfaceId, InvoiceIssueRequest request);
        /// <summary>
        /// 开具票据
        /// </summary>
        /// <param name="interfaceId"></param>
        /// <param name="request"></param>
        /// <returns></returns>
        List<CurrentInvoiceResponse> QueryCurrentInvoice(long interfaceId, CurrentInvoiceRequest request);
    }
}